// ****************************************************************************
//
// Logic 2: First room
//
// ****************************************************************************

#include "defines.txt"

if (new_room) {
  load.pic(room_no);
  draw.pic(room_no);
  discard.pic(room_no);
  set.horizon(37);

// Check what room the player came from and position them on the
// screen accordingly here, e.g:
 if (prev_room_no == 4) {
   position(ego,159,145);
 }
  draw(ego);
  show.pic();
}

if (said("look")) {
  print("This is the cliff face, which looks out to the ocean.");
  print("Many a night have you watched the sun set on the horizon.");
  }

if (ego_edge_code == right_edge) {    // ego touching right edge of screen
  new.room(4);
}

return();